package com.zhang.gulimall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * 商品库存
 * 
 * @author zhang
 * @email sunlightcs@gmail.com
 * @date 2022-09-14 12:01:08
 */
@Data
@TableName("wms_ware_sku")
public class WareSkuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private String id;
	/**
	 * sku_id
	 */
	private String skuId;
	/**
	 * 仓库id
	 */
	private String wareId;
	/**
	 * 库存数
	 */
	private Integer stock;
	/**
	 * sku_name
	 */
	private String skuName;
	/**
	 * 锁定库存
	 */
	private Integer stockLocked;


	public WareSkuEntity() {
		super();
		this.stock = 0;
	}
}
